/* 基础设置 */
:root {
  --primary-color: #4a6cf7;
  --primary-dark: #3a56d4;
  --secondary-color: #6c757d;
  --text-color: #333;
  --light-text: #6c757d;
  --background-color: #fff;
  --light-bg: #f8f9fa;
  --border-color: #dee2e6;
  --success-color: #28a745;
  --radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

p {
  margin-bottom: 1rem;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  font-weight: 500;
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  opacity: 0.95;
  color: white;
}

.btn.primary {
  background: var(--primary-color);
}

.btn.secondary {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn.secondary:hover {
  background: rgba(74, 108, 247, 0.1);
  color: var(--primary-color);
}

.btn.large {
  padding: 12px 28px;
  font-size: 1.1rem;
}

/* 头部导航 */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--primary-color);
}

/* 英雄区域 */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #333;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: var(--light-text);
}

.cta-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 功能特点区域 */
.features {
  padding: 100px 0;
  background-color: var(--background-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 108, 247, 0.1);
  border-radius: 12px;
}

.feature-icon img {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--light-text);
}

/* 下载区域 */
.download {
  padding: 100px 0;
  background-color: var(--light-bg);
  text-align: center;
}

.download > p {
  font-size: 1.2rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto 50px;
}

.download-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}

.download-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  width: 300px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.platform-icon {
  margin-bottom: 20px;
}

.platform-icon img {
  width: 60px;
  height: 60px;
}

.download-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.download-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.requirements {
  font-size: 0.9rem;
  color: var(--light-text);
}

.web-version {
  background: linear-gradient(135deg, #4a6cf7 0%, #3a56d4 100%);
  padding: 40px;
  border-radius: var(--radius);
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.web-version h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.web-version p {
  margin-bottom: 25px;
}

.web-version .btn.primary {
  background: white;
  color: var(--primary-color);
}

.web-version .btn.primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* 使用指南区域 */
.usage {
  padding: 100px 0;
  background-color: var(--background-color);
}

.steps {
  max-width: 800px;
  margin: 50px auto 0;
}

.step {
  display: flex;
  margin-bottom: 50px;
  gap: 30px;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.step-img {
  margin-top: 20px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

/* 关于区域 */
.about {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 12px 20px;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.social-link img {
  width: 20px;
  height: 20px;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 页脚区域 */
footer {
  padding: 80px 0 40px;
  background-color: #2d3748;
  color: white;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo h2 {
  font-size: 1.8rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .hero-image {
    justify-content: center;
    order: -1;
    margin-bottom: 40px;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 40px;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 20px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 15px 10px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .btn {
    display: block;
    width: 100%;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .download-options {
    flex-direction: column;
    align-items: center;
  }
  
  .social-links {
    flex-direction: column;
  }
  
  h2 {
    font-size: 1.8rem;
  }
} 